/*
 * @Description: 
 * @Author: 张文韬
 * @Date: 2022-09-06 14:46:31
 * @LastEditTime: 2024-07-13 14:17:58
 * @LastEditors: 张文韬
 * @Reference: 
 */
export default {
  mainTable: [
    {
      type: "index",
      width: 50
    },
    {
      label: '保单编号',
      minWidth: 200,
      prop: 'policyNo',
    },
    {
      label: '状态',
      minWidth: 100,
      prop: 'policyStatus',
      slotName: 'status',
    },
    // {
    //   label: '人数',
    //   minWidth: 100,
    //   prop: 'insuredList',
    //   format: (text) => text?.length
    // },
    {
      label: '被保人',
      minWidth: 200,
      prop: 'name',
      format: (text, { row }) => `${text} ${row.namePinYin||''}`
    },
    {
      label: '起保日期',
      minWidth: 160,
      prop: 'insuranceBeginDate',
      // format: (text) => text?.insuranceBeginDate

    },
    {
      label: '终保日期',
      minWidth: 160,
      prop: 'insuranceEndDate',
      // format: (text) => text?.insuranceEndDate
    },
    {
      label: '标准保费',
      minWidth: 100,
      prop: 'totalActualPremium'
    },
    {
      label: '实收',
      minWidth: 80,
      prop: 'actualAmount'
    },
    {
      label: '出单时间',
      minWidth: 160,
      prop: 'applicationDate'
    },
    // {
    //   label: '核销时间',
    //   minWidth: 160,
    //   prop: 'ip'
    // },
    {
      label: '保险公司',
      minWidth: 100,
      prop: 'companyName'
    },
   
    {
      label: '用户',
      minWidth: 100,
      prop: 'createBy'
    },
    {
      label: '操作',
      fixed: 'right',
      width: 140,
      slotName: 'handleSlot'
    }
  ]
};
